package com.shao.im.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.shao.commons.domain.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 评论表(Comment)表实体类
 *
 * @author makejava
 * @since 2023-08-04 22:23:23
 */
@Data
@Accessors(chain = true)
public class Comment extends BaseEntity implements Serializable {
    //主键 - 评论ID
    @TableId(type = IdType.AUTO)
    private Integer cid;
    //动态ID
    private Integer pid;
    //发表评论的用户ID
    private Integer uid;
    //评论内容
    private String content;
}

